<?php header('Content-Type: text/html; charset=utf-8'); 

$sv = $_SERVER['REQUEST_URI'];
if ($sv == '/') : header("HTTP/1.1 301 Moved Permanently");
header("Location: /jurist/home_page"); exit();
endif; 

include_once "config.php";
include_once "functions.php"; ?>

<!DOCTYPE HTML>
<html>
	<head>
		<title><?php include_once "view/title.php" ?></title>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<meta name="description" content="" />
		<meta name="keywords" content="" />
		<noscript>
		<link rel="stylesheet" href="../css/5grid/core.css" />
		<link rel="stylesheet" href="../css/5grid/core-desktop.css" />
		<link rel="stylesheet" href="../css/5grid/core-1200px.css" />
		<link rel="stylesheet" href="../css/5grid/core-noscript.css" />
		<link rel="stylesheet" href="../css/style.css" />
		<link rel="stylesheet" href="../css/style-desktop.css" />
		</noscript>
		<script src="../css/5grid/jquery.js"></script>
		<script src="../css/5grid/init.js?use=mobile,desktop,1000px&amp;mobileUI=1&amp;mobileUI.theme=none"></script>
		<!--[if IE 9]><link rel="stylesheet" href="../css/style-ie9.css" /><![endif]-->
	</head>
	<body>
<?php

if(isset($_GET['jurist']) && $_GET['jurist'] == 'home_page') include_once "view/index.php";

if( (isset($_GET['jurist']) && $_GET['jurist'] == 'uslugi') || isset($_GET['service']) ) include_once "uslugi/index.php";

if(isset($_GET['jurist']) && $_GET['jurist'] == 'contacts') include_once "contact/index.php";

if(isset($_GET['jurist']) && $_GET['jurist'] == 'article') include_once "staty/index.php";

if(isset($_GET['jurist']) && $_GET['jurist'] == 'question_answer') include_once "vopros/index.php";



?>

	</body>
</html>
